package com.epalmpay.service.trade;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.epalmpay.bean.TradeCheckOpBean;
import com.epalmpay.dto.datareport.TradeCheckedInDTO;
import com.epalmpay.dto.trade.TradeCheckInDTO;
import com.epalmpay.entity.Page;
import com.epalmpay.entity.TradeOffline;
import com.epalmpay.entity.TradeOfflineAbandon;
import com.epalmpay.exception.ApplicationException;

/**
 * 完成对账相关处理的逻辑
 * @author Administrator
 *
 */
public interface ITradeCheckService {

	String finishSaveTradeCheckFile(MultipartFile file) throws ApplicationException;

	void finishTradeCheck();

	void finishAddToTradeRecord(TradeCheckInDTO tradeCheckInDTo)throws ApplicationException;

	List<TradeCheckOpBean> tradeCheckOpRecordList(TradeCheckInDTO tradeCheckInDTo, Page page)throws ApplicationException;

	void finishAbandonTradeRecord(TradeCheckInDTO tradeCheckInDTo)throws ApplicationException;

	TradeOffline offlinefindById(TradeOffline offline)throws ApplicationException;

	List<TradeOfflineAbandon> listOfflineRecords(TradeCheckedInDTO offlineRecordInDTO, Page page)throws ApplicationException;

	TradeOffline abandonOfflinefindById(TradeOffline offline) throws ApplicationException;

}
